package com.yipi.yupicturebackend.controller;

import com.yipi.yupicturebackend.common.BaseResponse;
import com.yipi.yupicturebackend.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/health")
@RestController
public class HealthController {
    @GetMapping
    public BaseResponse<String> health(){
        return ResultUtils.success("ok");
    }
}
